package edu.fiu.cis.personalize.server.berkDB.serializers;

import com.sleepycat.bind.tuple.TupleBinding;
import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class StringSerializer extends TupleBinding<String>
{
	@Override
	public String entryToObject(TupleInput arg0) {
		return arg0.readString();
	}

	@Override
	public void objectToEntry(String arg0, TupleOutput arg1) {
		arg1.writeString(arg0);
	}

}
